package com.dadie.Domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alon
 * @since 2021-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_shop_order_product")
public class ShopOrderProductDomain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单商品id
     */
    @TableId(value = "shop_order_product_id",type = IdType.ASSIGN_ID)
    private String shopOrderProductId;

    /**
     * 商品id
     */
    private String productId;

    /**
     * 单个商品数量
     */
    private Integer productNumber;

    /**
     * 订单id
     */
    private String shopOrderId;

    /**
     * 商城积分
     */
    private Integer shopAccount;


}
